﻿package org.net.UMsg
{
	import flash.utils.IDataOutput;
	
	//.移动
//@21(short)|length(short)|x(short)|y(short)|#

	public class UMsg21 extends UMsg
	{
		public var x:int;
		public var y:int;
		public function UMsg21(x:int,y:int)
		{
			type = 21;
			this.x = x
			this.y=y
		}
		
		public override function write(dis:IDataOutput):void
		{
			dis.writeShort(x);
			dis.writeShort(y);
		}

	}
}